#!/usr/bin/env python
# -*- coding:utf-8 -*-

from __future__ import absolute_import
from celery import Celery
import os

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'disn.settings')

app = Celery('taskqueue', include=['taskqueue.tasks'])

app.config_from_object('taskqueue.config')

if __name__ == '__main__':
    app.start()
